﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Caiji.Models
{
    public class MachineModel
    {
        //机台名称
        public string MachineName { get; set; } 
        //状态
        public string Status { get; set; }
        //计划任务数量
        public int PlanCount { get;set; }
        //已完成任务数量
        public int FinishedCount { get;set; }
        //工单编号
        public string OrderNo { get; set; }
        //完成百分比
        public double Percent
        {
            get
            {
                    return FinishedCount * 100 / PlanCount;
            }
        }
    }
}
